package com.msb.mall.member.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.msb.common.dto.MemberLoginDTO;
import com.msb.common.dto.SocialUser;
import com.msb.common.utils.PageUtils;
import com.msb.common.utils.R;
import com.msb.mall.member.entity.MemberEntity;
import com.msb.common.dto.MemberRegisterDTO;

import java.util.Map;

/**
 * 会员
 *
 * @author dpb
 * @email dengpbs@163.com
 * @date 2022-10-08 23:01:44
 */
public interface MemberService extends IService<MemberEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void register(MemberRegisterDTO vo);

    R login(MemberLoginDTO dto);

    R login(SocialUser dto);
}

